package com.sevattal.service.leaves.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sevattal.service.base.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 采购子表
 * </p>
 *
 * @author Sevattal
 * @since 2021-08-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_purchaseChildOrder")
@ApiModel(value="PurchaseChildOrder对象", description="采购子表")
public class PurchaseChildOrder extends BaseEntity {

    private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "采购单号")
    @TableField("f_pmId")
    private String fPmid;


    @ApiModelProperty(value = "物资编号")
    @TableField("f_mId")
    private String fMid;

    @ApiModelProperty(value = "数量")
    @TableField("f_pcQuantity")
    private Integer fPcquantity;

    @ApiModelProperty(value = "采购单价")
    @TableField("f_pcUnitPrice")
    private BigDecimal fPcunitprice;

    @ApiModelProperty(value = "采购日期")
    @TableField("f_pcDate")
    private Date fPcdate;

    @ApiModelProperty(value = "需求日期")
    @TableField("f_reDate")
    private Date fRedate;

    @ApiModelProperty(value = "采购状态")
    @TableField("f_pcStatus")
    private String fPcstatus;

    @ApiModelProperty(value = "备注")
    @TableField("f_pcMemo")
    private String fPcmemo;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "是否禁用 1（true）已禁用，  0（false）未禁用")
    @TableField("is_disabled")
    private Boolean disabled;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;


}
